home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 03p2.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-06  |  1.2 KB  |  49 lines

  1. on startMovie
  2.   global gKnobSprite, gSendMovie, gCursorReady, gMagCursor
  3.   gCursorReady = 1
  4.   gMagCursor = "magCursor"
  5.   gKnobSprite = 14
  6.   gSendMovie = "03p2"
  7.   puppetSprite(48, 1)
  8.   setUpKnob()
  9.   set the mouseDownScript to EMPTY
  10.   set the mouseUpScript to EMPTY
  11. end
  12.  
  13. on idle
  14.   global gCursorReady
  15.   if gCursorReady = 1 then
  16.     cursor(200)
  17.     checkCursors()
  18.     set the locH of sprite 48 to the mouseH
  19.     set the locV of sprite 48 to the mouseV
  20.     updateStage()
  21.   end if
  22. end
  23.  
  24. on checkCursors
  25.   global gMagCursor
  26.   set the castNum of sprite 48 to the number of member "curs1"
  27.   if the castNum of sprite 5 and rollOver(5) then
  28.     set the castNum of sprite 48 to the number of member gMagCursor
  29.   end if
  30.   if the castNum of sprite 8 and rollOver(8) then
  31.     set the castNum of sprite 48 to the number of member "deMagCursor"
  32.   end if
  33.   repeat with i = 15 to 17
  34.     if rollOver(i) then
  35.       set the castNum of sprite 48 to the number of member "hotCursor"
  36.     end if
  37.   end repeat
  38.   repeat with i = 30 to 32
  39.     if rollOver(i) then
  40.       set the castNum of sprite 48 to the number of member "hotCursor"
  41.     end if
  42.   end repeat
  43.   repeat with i = 40 to 42
  44.     if rollOver(i) then
  45.       set the castNum of sprite 48 to the number of member "hotCursor"
  46.     end if
  47.   end repeat
  48. end
  49.